/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-spi
 * Filename：	QueryResult.java
 * Created：		2016年8月2日
 * Creator：		wolv
 */
package com.thor.palmmall.hdmall.common;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author wolv
 *
 */
public class HDMQueryResult<T> implements Serializable {
	private static final long serialVersionUID = 1114981432045650067L;

	private int pageSize = 0;
	private int page = 0;
	private int pageCount = 0;
	private long recordCount = 0;
	private boolean more = false;
	private List<T> records = new ArrayList<T>();

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public long getRecordCount() {
		return recordCount;
	}

	public void setRecordCount(long recordCount) {
		this.recordCount = recordCount;
	}

	public boolean isMore() {
		return more;
	}

	public void setMore(boolean more) {
		this.more = more;
	}

	public List<T> getRecords() {
		return records;
	}

	public void setRecords(List<T> records) {
		this.records = records;
	}

}
